import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import axios from 'axios'

axios.defaults.baseURL = 'https://www.liulongbin.top:8888/api/private/v1/'

//将axios挂载到Vue的原型对象上
Vue.prototype.$axios = axios
// console.log(Vue.prototype.$http);

// 导入全局element
import 'element-ui/lib/theme-chalk/index.css'

// 导入全局样式
import './assets/css/global.css'

//导入字体图标
import './assets/fonts/iconfont.css'

Vue.use(ElementUI)

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
